package com.vatex.vcp.polimorfismo.central;

public class Centralita {
	int cont;

	double acum;

	public void registrarLlamadas(Llamadas llam) {
		this.cont++;
		this.acum += llam.calcularPrecio();

		System.out.println("Llamada Registrada:" + llam.toString());
	}

	public double getAcum() {
		return acum;
	}

	public void setAcum(double acum) {
		this.acum = acum;
	}

	public int getCont() {
		return cont;
	}

	public void setCont(int cont) {
		this.cont = cont;
	}

}
